#include "testgl.h"

TestGL::TestGL(QGLFormat f) : QGLWidget( f )
{
text_size = 0;
}

void TestGL::initializeGL()
{
GLint maxts;
GLint * p_maxts = &maxts;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, p_maxts);
text_size = (int) maxts;
}

int TestGL::return_text_size()
{
return text_size;
}

